﻿using System.Web;
using Foothill.Model;

namespace Foothill.Service.UploadPhoto
{
    public interface IUploadFileManager
    {
        string SaveFile(string fileName, byte[] data);

        string SaveFile(string fileId, string fileName, byte[] data);

        string SaveFile(HttpPostedFile file);

        void DeleteFile(string path);

        bool ValidateUploadFileForUserProfileAndLogo(string fileName, int fileSize, out UploadPhotoValidationError error);

    }
}
